/*
 * @Author: 脉迈
 * @Date: 2021-10-19 15:14:55
 * @LastEditors: 脉迈
 * @LastEditTime: 2022-01-04 17:18:31
 */

/**
 * @params
 * @returns
 * @description 组件公共样式
 */
export interface componentsStylesType {
  position?: string;
  width?: number;
  height?: number;
  top?: number;
  left?: number;
  rotate?: number;
  paddingTop?: number;
  paddingLeft?: number;
  paddingRight?: number;
  paddingBottom?: number;
  marginTop?: number;
  marginLeft?: number;
  marginRight?: number;
  marginBottom?: number;
  borderWidth?: number;
  borderColor?: string;
  borderStyle?: string;
  borderRadius?: number;
  boxShadow?: string;
  fontSize?: number;
  fontWeight?: number;
  lineHeight?: number;
  letterSpacing?: number;
  textAlign?: string;
  color?: string;
  backgroundColor?: string;
  backgroundImage?: string;
  backgroundSize?: string;
  opacity?: number;
  zIndex?: number;
}
export const componentsStyles: componentsStylesType = {
  position: "absolute",
  height: 30,
  top: 200,
  left: 0,
  rotate: 0,
  paddingTop: 0,
  paddingLeft: 0,
  paddingRight: 0,
  paddingBottom: 0,
  marginTop: 0,
  marginLeft: 0,
  marginRight: 0,
  marginBottom: 0,
  borderWidth: 0,
  borderColor: "",
  borderStyle: "solid",
  borderRadius: 0,
  boxShadow: "",
  fontSize: 16,
  fontWeight: 500,
  lineHeight: 1.4,
  letterSpacing: 0,
  textAlign: "center",
  color: "#000000",
  backgroundColor: "",
  backgroundImage: "",
  backgroundSize: "cover",
  opacity: 1,
  zIndex: 1,
};

/**
 * @params
 * @returns
 * @description 页面样式
 */
interface pageStylesType {
  backgroundColor: string;
  backgroundImage: string;
}
export const pageStyles: pageStylesType = {
  backgroundColor: "",
  backgroundImage: "",
};
